package com.example.springsecurity.mapper;

import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @ClassName ProjectTeachMapper
 * @Description TODO
 * @Author lvyongwei
 * @Date 2020-10-10 10:20
 **/
@Mapper
public interface ProjectTeachMapper {


    /**
     * 根据用户id(教师,负责人)获取其所负责的所有实验
     * @param userId
     * @return
     */
    public List<Integer> getProjectIdsByUserId(Long userId);

}
